home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
bgfax160.zip
/
BINK-HAY.TXT
< prev
next >
Wrap
Text File
|
1996-04-25
|
4KB
|
98 lines
--------------------------------------------------------------------------
Setup hints: BGFAX, Hayes Optima 28800, Binkley 2.60 (DOS & OS/2) 04-25-96
B.J. Guillot http://www.blkbox.com/~bgfax/
FidoNet 1:106/400 InterNet: bjg90783@jetson.uh.edu
--------------------------------------------------------------------------
YOU MUST BE USING BINKLEY 2.60... DO NOT USE THE 2.59 BETAS OR EARLIER.
Here is a clip from the BINKLEY.CFG file...
;***************************************************************
;* Fax Related Section of Binkley.CFG for a Class 1 faxmodem *
;* Class 1 such as Hayes Optima 28800 *
;***************************************************************
PreInit |v``^``ATHZ|~~
Init AT|
PreDial `
Prefix ATDT
Answer AT+FCLASS=1|~AT+FAE=1|~ATA|
; if the above gives problems, use two tiles (~~AT) instead of one (~AT)
DtrHigh
;MailNote ; must be COMMENTED OUT for BGFAX to work!!!
;FaxInDir NOT_USED ; must be COMMENTED OUT for BGFAX to work!!!
;FaxBaud NOT_USED ; useless when used with BGFAX
ExtrnMail 123 FAX
Extern spawn ; this causes Bink to spawn EXTMAIL.BAT|CMD
ModemFax FAX
ModemIgnore RINGING
ModemIgnore RING RESPONSE
ModemRinging RING
ModemConnect CONNECT
ModemIgnore RRING
ModemRetry BUSY
ModemFailure VOICE
ModemFailure ERROR
ModemFailure OK
ModemFailure NO CARRIER
ModemIncoming NO DIAL
ModemIgnore DIALING
ModemFailure NO ANSWER
ModemIgnore DIAL TONE
Miscellaneous notes about BINKLEY.CFG...
1. The "123" number I choose in the "ExtrnMail" verb above is just a
dummy number. Since we are spawning to EXTMAIL.BAT|CMD, the number
itself does not make any difference
2. Binkley will NOT report modem initialization errors and this makes
finding errors almost impossible.
The other important file we must create is EXTMAIL.BAT|CMD, which will
reside in the Binkley directory...
EXTMAIL.CMD (If you are using Binkley and BGFAX for OS/2)
~~~~~~~~~~~
@d:\util\sio\su 1 lock 0
@c:\bgfax\bgfax2 /fax:713_555_1212 c:\bgfax h%3 z /dis:79
or
@c:\bgfax\bgfax2 /fhay:713_555_1212 c:\bgfax h%3 z /dis:79
The "SU" command in the first line will tell the SIO.SYS drivers to unlock
the communications port so that BGFAX is able to adjust the DTE speed to
whatever value your modem needs to be set to for fax receive mode. The "1"
stands for "COM1". The "H%3" is a communications handle which is auto-
matically passed by Binkley so you do not need to tell BGFAX/2 which com
port you are using. The "713_555_1212" should be your phone number. Use
underscores (_) instead of spaces. The "/dis:79" tells BGFAX to tell the
remote fax device to use a maximum of 9600 bps.
If using /fax:xxxxxxxxx gives you trouble, try using /fhay:xxxxxxxxxx
EXTMAIL.BAT (If you are using Binkley and BGFAX for DOS)
~~~~~~~~~~~
@c:\bgfax\bgfax2 /fax:713_555_1212 c:\bgfax 1 z /dis:79
or
@c:\bgfax\bgfax2 /fhay:713_555_1212 c:\bgfax 1 z /dis:79
The "1" above tells BGFAX to receive using COM1.
If Binkley/2 is working correctly, your BINKLEY.LOG will show an entry
like this...
+ 18 Apr 16:36:39 BINK begin, BinkleyTerm-OS/2 Ver. 2.60 -IBMC/2
# 18 Apr 16:38:54 BINK Ring
# 18 Apr 16:38:55 BINK Fax
: 18 Apr 16:38:56 BINK Spawning external mailer
: 18 Apr 16:39:31 BINK Returned from external mailer
* 18 Apr 16:39:35 BINK Seconds: 45 Tariff: 0 Fee: 0 System: FAX
: 18 Apr 16:39:35 BINK Exit after receiving mail with errorlevel 20
+ 18 Apr 16:39:35 BINK end, BinkleyTerm-OS/2 Ver. 2.60 -IBMC/2
Notice that after the fax is received, Binkley will go ahead and exit
with the errorlevel defined by E2= in the BINKLEY.EVT file after BGFAX
releases control back to Bink. Again, this happens AFTER the BGFAX
transfer has already happened.